<% row = cycle('odd', 'even') %>
<tr class="<%= row %>">
  <td><%= property_pattern.presentation %></td>
  <td>
    <% permitted_to? :delete, :admin_property_patterns do %>
      <%= button_to_delete "X", admin_property_pattern_path(property_pattern) %>
    <% end %>
    <% permitted_to? :edit, :admin_property_patterns do %>
      <%= button_to_edit "Editovat šablonu vlastností", edit_admin_property_pattern_path(property_pattern) %>
    <% end %>
  </td>
</tr>